package com.sw.bbs;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

import javax.annotation.PostConstruct;
import java.util.TimeZone;

/**
 * JointCaseApplication
 *
 * @author wusonghe
 **/
@SpringBootApplication(scanBasePackages = {"com.sw.bbs"})
@MapperScan(basePackages = {"com.sw.bbs.*.dao"})
@EnableCaching
//@EnableFeignClients(/basePackageClasses = LogControllerFeign.class)
public class StartApplication {

//    @PostConstruct
//    void started() {
//        TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
//    }
    public static void main(String[] args) {
        SpringApplication.run(StartApplication.class, args);
    }
}
